    <div id="notificationsbox">
        <h4>Messages</h4>
        <ul>
<?php if ($this->messages) {foreach ($this->messages as $row) { ?>
            <li>
            	<h5><a href="#" title=""><?php echo $row['name'] ?></a></h5>
                <p><?php echo $row['text'] ?></p>
            </li>
<?php }}else {echo 'No new messages!';} ?>
        </ul>
        <a href="#" title=""><img SRC="/img/icons/icon_square_close.png" alt="Close" class="closeyes" /></a>
        <p class="allread"><a href="/control/messages/all-readed/" title="">All readed</a></p>
        <p class="loadmoree"><a href="/control/messages/" title="">Read all messages</a></p>
    </div>